#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QKeyEvent>
#include "GLCribbage.h"

#include "QDebug"

class MainWindow : public QMainWindow {

    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    
signals:
    
public slots:

protected:
     void mousePressEvent(QMouseEvent * event);
     void keyPressEvent(QKeyEvent * event);

private:
    void createWidgets();
    void createLayouts();
    void connectSignalSlots();
    void connectGameSignalSlots();
    void createActions();
    void createMenus();

    GLCribbage * glCribbage;

};

#endif // MAINWINDOW_H
